package com.letoken.platform.repo.app.req.mall;

import com.letoken.platform.pub.annotation.content.ContentCheck;
import com.letoken.platform.pub.annotation.content.ContentEnum;
import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(value = "商家收藏列表", description = "商家收藏列表对象")
public class CollectShopsReq extends QueryReqBase {


    @ApiModelProperty("排序类型 0=收藏时间倒序  1=离我最近")
    @NotNull(message = "80000007")
    @SpecifyMatch(intValues = {0,1})
    private Integer type;



    @ApiModelProperty("用户当前经度")
    @NotNull(message = "80000007")
    private BigDecimal longitude;


    @ApiModelProperty("用户当前纬度")
    @NotNull(message = "80000007")
    private BigDecimal latitude;


    @ApiModelProperty("一级分类")
    private Integer oneCategory;


    @ApiModelProperty(hidden = true)
    private Integer userId ;

    @ApiModelProperty(hidden = true)
    private Integer state ;


    @ApiModelProperty(hidden = true)
    private Integer publishState;






}
